<template>
	<view>
		<cardTop :username="username" :avatar="avatar"></cardTop>
		<view style="background-color: #F1F1F1; height:1.5vh;"></view>
		<card-center></card-center>
		<card-explain></card-explain>
	</view>
</template>

<script>
	import cardTop from '../../components/userCenter/card/cardTop.vue'
	import cardCenter from '../../components/userCenter/card/cardCenter.vue'
	import cardExplain from '../../components/userCenter/card/cardExplain.vue'
 	export default {
		components:{
			cardTop,
			cardCenter,
			cardExplain
		},
		data() {
			return {
        username:'',
        avatar:''
			}
		},
    onLoad() {
      this.username = uni.getStorageSync('username')
      this.avatar = uni.getStorageSync("avatar")
      console.log(this.cover)
    }
	}
</script>

<style lang="scss">

</style>
